package com.piggy.logi.sys.vo;

import com.piggy.common.core.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 运单运行日志视图对象 logi_waybill_log
 *
 * @author piggy
 * @date 2023-12-07
 */
@Data
@Accessors(chain = true)
@ApiModel("运单运行日志视图对象")
public class LogiWaybillLogVo implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 主键 */
	@Excel(name = "主键")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	@ApiModelProperty("主键")
	private Long id;

	/** 运单id */
	@Excel(name = "运单id")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	@ApiModelProperty("运单id")
	private Long waybillId;

	/** 运单编号 */
	@Excel(name = "运单编号")
	@ApiModelProperty("运单编号")
	private String outCode;

	/** 运单运行节点状态 */
	@Excel(name = "运单运行节点状态")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	@ApiModelProperty("运单运行节点状态")
	private Long flowStatus;

	/** 时间节点 */
	@Excel(name = "时间节点" , width = 30, dateFormat = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty("时间节点")
	private Date timeLoad;

	/** 日志事件 */
	@Excel(name = "日志事件")
	@ApiModelProperty("日志事件")
	private String logMsg;

	/** 操作人 */
	@Excel(name = "操作人")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	@ApiModelProperty("操作人")
	private Long operator;

	/** 操作人手机号码 */
	@Excel(name = "操作人手机号码")
	@ApiModelProperty("操作人手机号码")
	private String operatePhone;

	/** 添加时间 *//*
	@Excel(name = "添加时间" , width = 30, dateFormat = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty("添加时间")
	private Date createTime;

	*//** 更新时间 *//*
	@Excel(name = "更新时间" , width = 30, dateFormat = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty("更新时间")
	private Date updateTime;*/


}
